//
//  SettingArrowAndExplainCell.swift
//  XingCeHelper
//
//  Created by 申铭 on 2023/2/6.
//

import UIKit

let kSettingArrowAndExplainCell: String = "SettingArrowAndExplainCell"

class SettingArrowAndExplainCell: RoundCornerCell {

    @IBOutlet weak var titleLabel: UILabel!
    @IBOutlet weak var detailLabel: UILabel!
    
    var model: SettingArrowAndExplainCellModel? {
        didSet {
            titleLabel.text = model?.title
            detailLabel.text = model?.detail
        }
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
        titleLabel.font = UIFont.systemFont(ofSize: 17)
        detailLabel.font = kSettingCellDetailFont
        titleLabel.textColor = .label
        detailLabel.textColor = .systemGray
    }

}
